#pragma once

#include <string>

bool starts_with(const std::string &str, const std::string &prefix);
bool ends_with(const std::string &str, const std::string &suffix);

bool starts_with_ignore_case(const std::string &str, const std::string &prefix);
bool ends_with_ignore_case(const std::string &str, const std::string &suffix);

void lower_string(std::string &s);
std::string to_lower_string(const std::string &s);

int compare_string(const std::string &a, const std::string &b);
int compare_string_ignore_case(const std::string &a, const std::string &b);
